package cn.com.dbridge.common.websocket.common;

/**
 * Code 编码
 */
public class NettyCode {
    /**
     * 认证结果.
     */
    public static final int SYS_AUTH_STATE = 20002;
    /**
     * WebSocket连接成功，申请授权.
     */
    public static final int AUTH_CODE = 10000;
    /**
     * 在线用户数.
     */
    public static final int SYS_USER_COUNT = 20001;
    /**
     * Ping消息.
     */
    public static final int PING_CODE = 10015;
    /**
     * Pong消息.
     */
    public static final int PONG_CODE = 10016;
    /**
     * 普通消息.
     */
    public static final int MESS_CODE = 10086;
    /**
     * 系统消息.
     */
    public static final int SYS_OTHER_INFO = 20003;
}
